(function(namespace){
	
	var Bookmark = can.Model.LocalStorage({
		storageName : 'test-storage',
		findById : function(id){
			var foundBookmark = null;
			this.findAll({},function(bookmarks){
				bookmarks.each(function(bookmark){
					if(bookmark.attr('id')===id){
						foundBookmark = bookmark;
					}
				});
			});
			return foundBookmark;
		}
	},{}); 
	
	namespace.Models = namespace.Models || {};
	namespace.Models.Bookmark = Bookmark;
})(this);